package main

import (
	"tvmanager/appconfig"
	"tvmanager/models"
	"tvmanager/router"
)

func main() {

	appconfig.Init() //加载配置

	models.Init() //连接数据库

	r := router.Init()
	r.Run(":8000")

}
